from skimage.metrics import structural_similarity
from skimage.metrics import peak_signal_noise_ratio

computeSSIM = structural_similarity
computePSNR = peak_signal_noise_ratio